package com.javasm.crm.domin.entity.marketingActivity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author llyp
 * @since 2021-07-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
@TableName("Eventsmanagement_Returned")
public class Returned implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 活动名字
     */
    private String marketingName;

    /**
     * 活动时间
     */
    private LocalDateTime marketingDate;

    /**
     * 赠品编号
     */
    private Integer  giftId;

    /**
     * 赠送方式
     */
    @TableField("rewardWay")
    private Integer rewardWay;

    /**
     * 退库申请备注信息
     */
    private String applyPostscript;

    /**
     * 申请人
     */
    private String applicant;

    /**
     * 申请时间
     */
    @TableField("applicantTime")
    private LocalDateTime applicantTime;

    /**
     * 审批人
     */
    private String approver;

    /**
     * 审批时间
     */
    @TableField("approverTime")
    private LocalDateTime approverTime;

    /**
     * 审批状态
     */
    @TableField("approvalStatus")
    private Integer approvalStatus;

    /**
     * 审批意见
     */
    @TableField("approverIdea")
    private String approverIdea;


}
